$('#search').bind("keydown",function (e) {
    if(13 === e.keyCode) {
    	var url = window.location.host;
        var search = $("input[name='search']").val();
        url = "http://"+url+"/search/"+search
        console.log(url)
        window.location.href=url
        return ;
	}
})
